package com.ruoyi.video.server.onvif.lib;

import java.util.Set;
import java.util.concurrent.CopyOnWriteArraySet;

public class DiscoveryDevice {
    public static Set<String> ips = new CopyOnWriteArraySet<>();
    public void onDevice(String ip) {
        if (ips.contains(ip)) {
            return;
        }
        System.out.println("发现新的onvif设备:"+ ip);
    }
}
